package net.wwang.demo.dao;

import net.wwang.demo.model.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @BelongsProject: demo
 * @BelongsPackage: net.wwang.demo.dao
 * @Author: WangWei
 * @CreateTime: 2020-06-02 09:50
 * @Description:
 */
public interface RoleDao extends JpaRepository<Role, Integer> {
    public List<Role> findById(Long id);
}
